get the goods on

Also, have the goods on. Acquire or possess confidential information about someone, especially of a damaging or incriminating kind. For example, “Trouble is, they've got the goods on me” (Owen Johnson, The Lawrenceville Stories, 1909). [ ; 1870s ]
Also see: get on one